﻿using System;

namespace mklib.json
{
	/// <summary>
	/// Json转换异常
	/// </summary>
	public class JsonParseException : Exception
	{
		public JsonTokenChar Type;
		public JsonParseException (string msg):base(String.Format("Uncaught SyntaxError: Unexpected {0}", msg)){}
		public JsonParseException (char ch):base(String.Format("Uncaught SyntaxError: Unexpected token {0}", ch)){}
		public JsonParseException():base(){}	
	}
}

